package pm.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * 作者表
 * @author Administrator
 *
 */
public class Author {
	//作者id
	private Integer id;
	private String name;		//作者名字
	private String description;	//作者简介
	private String homepage;	//作者的主页
	//作者与论文是多对多关系
	private Set<Paper> papers=new HashSet<Paper>();
	
	


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getHomepage() {
		return homepage;
	}


	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}


	public Set<Paper> getPapers() {
		return papers;
	}


	public void setPapers(Set<Paper> papers) {
		this.papers = papers;
	}

	
}
